package io.renren.modules.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.modules.product.entity.ProductUserEntity;
import io.renren.modules.product.vo.TransferVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhaoyu
 * @since 2023-07-29
 */
public interface ProductUserService extends IService<ProductUserEntity> {


    Map<String, Object> getTransfer(Long productId);


    void updateProductUser(Long productId, Long[] userIds);

    List<ProductUserEntity> getUserByProductId(Long productId);

    List<Long> getProductIdsByUserId();

}
